home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
answrbok
/
3_7.lha
/
3_7
/
3_7dtst.c
< prev
next >
Wrap
Text File
|
1993-08-08
|
445b
|
22 lines
* Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
* The C++ Answer Book */
* Tony Hansen */
* All rights reserved. */
include <stream.h>
oid* memcpy(void*, const void*, int);
har a[] = "abcdefghijklmnopqrstuvwxyz";
har b[sizeof a];
ain()
memcpy(b, a, sizeof a);
strcpy(a+3, "");
cout << "a=" << a << "\n";
memcpy(b, a, sizeof a);
strcpy(a+3, "QRSTUVWXYZ");
cout << "a=" << a << "\n";
return 0;